package com.itheima.service.impl;

import com.itheima.service.UserService;

public class UserServiceImpl implements UserService {
    @Override
    public void save(int i, int x) {
        System.out.println("userServiceImpl is run ...");
    }

    @Override
    public int update() {
        System.out.println("userServiceImpl is run ...");
        int i = 1 / 0;
        return 100;
    }

    @Override
    public void delete() {
        System.out.println("userServiceImpl is run ...");
        int i = 1 / 0;
    }
}
